/* =========================
   SOBRE CEDICE
========================= */

.logo-cedice{
    width: clamp(120px, 20vw, 180px);
    max-height: 80px;
    object-fit: contain;
    display: block;
}

.container-principal{
    width: 100%;
    padding: 110px 8%;
    background: #f5f5f5;
    display: flex;
    justify-content: center;
}

/* =========================
   CARD GENERAL
========================= */

.card-cedice{
    width: 100%;
    max-width: 1200px;

    display: grid;
    grid-template-columns: 0.95fr 1fr;

    background: white;

    border-radius: 42px;
    overflow: hidden;

    box-shadow:
    0px 18px 45px rgba(0,0,0,0.06);

    transition:
    transform 0.45s ease,
    box-shadow 0.45s ease;
}

/* HOVER */

.card-cedice:hover{
    transform: translateY(-8px);

    box-shadow:
    0px 28px 65px rgba(0,0,0,0.12);
}

/* =========================
   IMAGEN IZQUIERDA
========================= */

.container-imgCedice{
    position: relative;
    height: 620px;
    overflow: hidden;
}

/* IMAGEN */

.container-imgCedice img{
    width: 100%;
    height: 100%;

    object-fit: cover;

    /* IMPORTANTE */
    object-position: center 20%;

    display: block;

    transition: transform 0.7s ease;
}

/* ZOOM */

.card-cedice:hover .container-imgCedice img{
    transform: scale(1.04);
}

/* =========================
   TEXTO SOBRE IMAGEN
========================= */

.container-imgCedice h3{
    position: absolute;

    left: 28px;
    bottom: 28px;

    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(10px);

    padding: 14px 28px;

    border-radius: 50px;

    color: #111;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 1px;

    box-shadow:
    0px 10px 25px rgba(0,0,0,0.10);

    z-index: 2;
}

/* =========================
   CONTENIDO DERECHA
========================= */

.acerca-contenido{
    padding: 65px 60px;

    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* TITULO */

.acerca-contenido h2{
    font-size: clamp(2rem, 5vw, 4rem);
    color: #111;

    margin-bottom: 28px;

    letter-spacing: -3px;
    line-height: 1;
}

/* TEXTO */

.acerca-contenido p{
    font-size: 1.05rem;
    color: #666;

    line-height: 2;

    margin-bottom: 40px;
}

/* SPAN */

.acerca-contenido span{
    color: #111;
    font-weight: bold;
}

/* =========================
   BOTON
========================= */

.acerca-contenido a{
    width: fit-content;

    padding: 16px 30px;

    border-radius: 50px;

    background: #000;
    color: white;

    text-decoration: none;

    font-size: 0.92rem;
    font-weight: 500;
    letter-spacing: 0.3px;

    transition:
    transform 0.35s ease,
    background 0.35s ease,
    box-shadow 0.35s ease;
}

/* HOVER */

.acerca-contenido a:hover{
    background: #1a1a1a;

    transform: translateY(-4px);

    box-shadow:
    0px 15px 25px rgba(0,0,0,0.15);
}

/* =========================
   TABLET
========================= */

@media(max-width: 1000px){

    .card-cedice{
        grid-template-columns: 1fr;
    }

    .container-imgCedice{
        height: 420px;
    }

    .container-imgCedice img{
        object-position: center 20%;
    }

    .acerca-contenido{
        padding: 50px 40px;

        text-align: center;
        align-items: center;
    }

    .acerca-contenido h2{
        font-size: 3rem;
    }
}

/* =========================
   MOBILE
========================= */

@media(max-width: 768px){

    .container-principal{
        padding: 80px 5%;
    }

    .card-cedice{
        border-radius: 28px;
        grid-template-columns: 1fr;
    }

    /* MÁS ESPACIO PARA LA IMAGEN */
    .container-imgCedice{
        height: 340px;
    }

    .container-imgCedice img{
        object-fit: cover;

        /* AJUSTA EL ENCUADRE */
        object-position: center 18%;
    }

    .container-imgCedice h3{
        left: 16px;
        bottom: 16px;

        padding: 10px 18px;

        font-size: 0.78rem;

        max-width: 85%;
    }

    .acerca-contenido{
        padding: 40px 24px;

        text-align: center;
        align-items: center;
    }

    .acerca-contenido h2{
        font-size: 2.3rem;
        letter-spacing: -2px;
    }

    .acerca-contenido p{
        font-size: 0.98rem;
        line-height: 1.8;
    }

    .acerca-contenido a{
        width: 100%;
        text-align: center;
    }
}

/* =========================
   MOBILE PEQUEÑO
========================= */

@media(max-width: 480px){

    .container-principal{
        padding: 60px 4%;
    }

    .container-imgCedice{
        height: 300px;
    }

    .container-imgCedice img{
        object-position: center 15%;
    }

    .container-imgCedice h3{
        font-size: 0.72rem;
        padding: 9px 15px;
    }

    .acerca-contenido{
        padding: 32px 22px;
    }

    .acerca-contenido h2{
        font-size: 1.9rem;
        line-height: 1.1;
    }

    .acerca-contenido p{
        font-size: 0.95rem;
    }
}